import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import './mock/mockServer' // 加载mockServe 即可
import loading from './common/imgs/loading.gif'
import { Button } from 'mint-ui'
import VueLazyload from 'vue-lazyload'
import './filters/index.js'
// 注册全局组件标签
Vue.component(Button.name, Button) // <mt-button></mt-button>
Vue.use(VueLazyload, {
  loading
})
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
